package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.BisSmsRecordMDao;
import com.sykj.manage.model.BisSmsRecordM;
import com.sykj.manage.service.BisSmsRecordMService;

/**
 * 短信记录业务层接口
 * @author 蔡聪
 *	2018年10月9日上午10:02:46
 */
@Service
public class BisSmsRecordMServiceImpl implements BisSmsRecordMService{
	
	/**
	 * 调用持久层接口类
	 */
	@Autowired
	BisSmsRecordMDao bisSmsRecordDao;

	@Override
	public List<BisSmsRecordM> allBisSmsRecord(BisSmsRecordM bisSmsRecord) {
		// TODO Auto-generated method stub
		return bisSmsRecordDao.allBisSmsRecord(bisSmsRecord);
	}

	@Override
	public int delRecord(Object[] record_id) {
		// TODO Auto-generated method stub
		return bisSmsRecordDao.delRecord(record_id);
	}

	@Override
	public int add(BisSmsRecordM bisSmsRecord) {
		// TODO Auto-generated method stub
		return bisSmsRecordDao.add(bisSmsRecord);
	}
	
	
}
